From f26b9544b51f743ab8b0b79e25646249be097c82 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 8 Sep 2007 10:40:00 +0000 Subject: [PATCH] Document prefer-window-split-horizontally. --- etc/NEWS | 7 +++++++ src/ChangeLog | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/etc/NEWS b/etc/NEWS index 4904c20f77a..3fc02b0a50c 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -37,6 +37,13 @@ a GIF library. ** split-window-preferred-function specifies whether display-buffer should split windows vertically or horizontally. +** The new variable prefer-window-split-horizontally specifies how +display-buffer splits windows. If its value is nil the old behavior +is kept, i.e. windows are split vertically (above-below). If its +value is t, windows are split horizontally (side-by-side). If its +value is a number, windows are split horizontally if the resulting +window is at least as wide as that number, vertically otherwise. + ** Support for multiple terminal devices and simultaneous graphical and tty frames has been added. You can test for the presence of this feature in your Lisp code by testing for the `multi-tty' feature. diff --git a/src/ChangeLog b/src/ChangeLog index 87e761864ab..228148472a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2007-09-08 Fredrik Axelsson + + * window.c (prefer_window_split_horizontally): New variable. + (display_buffer): Consider splitting window horizontally depending + on prefer_window_split_horizontally. + 2007-09-08 Eli Zaretskii * sysdep.c [WINDOWSNT]: Don't include sysselect.h -- 2.30.2